//
//  CFsetNickNameVC.m
//  CFfuturestalent
//
//  Created by 子yu 刘 on 2018/5/2.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import "CFsetNickNameVC.h"

@interface CFsetNickNameVC ()

@end

@implementation CFsetNickNameVC

- (void)viewDidLoad {
    [super viewDidLoad];
   self.navigationItem.rightBarButtonItem = [UIBarButtonItem barBtnItemWithTitle:@"保存" color:DEF_COLOR_GREEN target:self action:@selector(save)];
    [[self.tfNickName rac_textSignal] subscribeNext:^(NSString * _Nullable x) {
        if (x.length>0) {
            self.btnClean.hidden = NO;
        }else{
            self.btnClean.hidden = YES;
        }
    }];
}

- (void)save{
 
}

- (IBAction)delAll:(id)sender {
    self.btnClean.hidden = YES;
    self.tfNickName.text = @"";
}


@end
